﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BIPorter.Common.Model
{
   
    [Serializable]
    public class AccountModel
    {
        #region 属性
        public string NickName { set; get; }
        public string UserName { set;get;}//域账号，即用来登录系统的账号
        public string EmployeeId { set; get; }//员工编号，系统数据查询都是以此数据获取
        public string Password { set; get; }
        public string Role { set; get; }
        public bool RememberMe { set; get; }
        public string ReturnUrl { set; get; }
        public AccountModel ManagerInfo { set; get; } //副总信息
        #endregion

        #region 构造函数
        public AccountModel()
        { 
            
        }

        public AccountModel(string nickName, string userName, string password, string employeeId, string role)
        {
            this.NickName = nickName;
            this.UserName = userName;
            this.Password = password;
            this.EmployeeId = employeeId;
            this.Role = role;
        }

        #endregion

    }
}
